package com.yyb.utils.neteaseim.bean.entity;


/**
 * @Author : Marshal
 * @Create : 2018/3/30 11:44
 * @Description : DOO
 */
public class NeImUser {

    private String accid;

    private String name;

    /**
     * json属性，第三方可选填，最大长度1024字符
     */
//    private String props;

    private String icon;

    private String sign;

    private String email;

    private String brith;

    private String mobile;

    /** 用户性别，0表示未知，1表示男，2表示女，其它会报参数错误  */
    private int gender;

    private String ex;


    public String getAccid() {
        return accid;
    }

    public void setAccid(String accid) {
        this.accid = accid;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

//    public String getProps() {
//        return props;
//    }
//
//    public void setProps(String props) {
//        this.props = props;
//    }

    public String getIcon() {
        return icon;
    }

    public void setIcon(String icon) {
        this.icon = icon;
    }

    public String getSign() {
        return sign;
    }

    public void setSign(String sign) {
        this.sign = sign;
    }

    public String getEmail() {
        return email;
    }

    public void setEmail(String email) {
        this.email = email;
    }

    public String getBrith() {
        return brith;
    }

    public void setBrith(String brith) {
        this.brith = brith;
    }

    public String getMobile() {
        return mobile;
    }

    public void setMobile(String mobile) {
        this.mobile = mobile;
    }

    public int getGender() {
        if (this.gender != 1 &&  this.gender != 2) {
            return 0;
        } else {
            return gender;
        }
    }

    public void setGender(int gender) {
        this.gender = gender;
    }

    public String getEx() {
        return ex;
    }

    public void setEx(String ex) {
        this.ex = ex;
    }
}
